package lab02.test10;

public class BeiJingPeople extends  People {
    String country;
    public BeiJingPeople(){

    }
    public BeiJingPeople(String country){
        this.country=country;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    @Override
    String study() {
        return "他来自于"+country;
    }
}
